package chapter07.servlet;

import javax.servlet.annotation.WebServlet;

@WebServlet("/User")
public class User {
    private String userName;
    private String userPassword;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    @Override
    public String toString() {
        return "chapter07.servlet.User [userName=" + userName + ", userPassword=" + userPassword + "]";
    }
}